Speci cation - Based Testing Using Cause - E ect Graphs 1 )
نویسنده
چکیده
In this paper we discuss the advantages and limitations of a speci cation-based software testing technique we call CEG-BOR. There are two phases in this approach. First, informal software speci cations are converted into cause-e ect graphs (CEG). Then, the Boolean OperatoR (BOR) strategy is applied to design and select test cases. The conversion of an informal speci cation into a CEG helps detect ambiguities and inconsistencies in the speci cation and sets the stage for design of test cases. The number of test cases needed to satisfy the BOR strategy grows linearly with the number of Boolean operators in CEG, and BOR testing guarantees detection of certain classes of Boolean operator faults. But, what makes the approach especially attractive is that the BOR based test suites appear to be very e ective in detecting other fault types. We have empirically evaluated this broader aspect of the CEG-BOR strategy on a simpli ed safety-related real-time control system, a set of N-version programs, and on elements of a commercial data-base system. In all cases, CEG-BOR testing required fewer test cases than those generated for the applications without the use of CEGBOR. Furthermore, in all cases CEG-BOR testing detected all faults that the original, and independently generated, application test-suites did. In two instances CEG-BOR testing uncovered additional faults. Our results indicate that the CEG-BOR strategy is practical, scalable, and e ective across diverse applications. We believe that it is a cost-e ective methodology for the development of systematic speci cation-based software test-suites. ii Paradkar, Tai, and Vouk, Speci cation-Based Testing Using Cause-E ect Graphs 1
منابع مشابه
Four types of e¤ect modication - a classication based on directed acyclic graphs
By expressing the conditional causal risk di¤erence as a sum of products of stratum speci c risk di¤erences and conditional probabilities, it is possible to give a classi cation of the types of causal relationships that can give rise to e¤ect modi cation on the risk di¤erence scale. Directed acyclic graphs make clear the necessary causal relationships for a particular variable to serve as an e¤...
متن کاملStatic and Dynamic Speci cation Slicing
A speci cation slice is a projection of a formal speci cation, which is simpler and potentially more comprehensible than the original speci cation. A static speci cation slice contains speci cations that might restrict the value of a variable. A dynamic speci cation slice consists of speci cations that actually a ect the value of a variable along the sequence of operations performed. Dynamic sp...
متن کاملM-testing Using Finite and Infinite Dimensional Parameter Estimators by Halbert White And
The m-testing approach provides a general and convenient framework in which to view and construct speci cation tests for econometric models. Previous m-testing frameworks only consider test statistics that involve nite dimensional parameter estimators and in nite dimensional parameter estimators a ecting the limit distribution of the m-test statistics. In this paper we propose a new m-testing f...
متن کاملTransformations on Dependency Graphs :
Dependency graphs are used to model data and control ow in hardware and software design. In a transformational design approach, optimization and re nement transformations are used to transform dependency-graph-based speci cations at higher abstraction levels to those at lower abstraction levels. In this dissertation, we investigate the formal speci cation and mechanical veri cation of transform...
متن کاملSpeci cation-Based Testing for CoCasl's Modal Speci cations
Speci cation-based testing is a particular case of black-box testing, which consists in deriving test cases from an analysis of a formal speci cation. In the framework of algebraic speci cations, the method for selecting test cases which has widely and e ciently been applied is called axiom unfolding. It has been shown e cient both in terms of quality of the resulting test set, which has been p...
متن کامل